package com.yonyou.cyxdms.sysAuth.service.controller.manage.company;

import com.yonyou.cyxdms.sysAuth.service.service.manage.asc.AscInfoService;
import com.yonyou.cyxdms.sysmanage.client.domains.dto.AscInfoDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ascInfo")
public class AscInfoController {

    @Autowired
    private AscInfoService ascInfoService;

    @PostMapping("/insert4Channel")
    public Integer insertAscInfo(@RequestBody AscInfoDTO ascInfoDTO){
        return ascInfoService.insertAscInfo(ascInfoDTO);
    }

}
